package com.weijing.pretty_app.util

object KeyUtil {

    const val BASE_DOWNLOAD_URL = "http://8.152.197.221/apk/"
    const val PWD_KEY = "pwd_key" //修改密码
    const val PWD_VALUE = 3
    const val MAIN_TO_PWD = "main_to_pwd" //登录页面跳转修改密码页面

    //跳转handle
    const val HANDLE_KEY = "handle_key"
    const val HANDLE_VALUE = 4

    const val TO_TuoMaoModelActivity = "to_TuoMaoModelActivity"
    const val TO_NenFuNextActivity = "to_NenFuNextActivity"
    const val TO_NEXT_ACTIVITY = "to_next_activity"
    const val TO_HOME_ACTIVITY = "to_home_activity"
    const val TO_NENFU_HOME_ACTIVITY = "to_nenfu_home_activity"


    const val TUO_MAO_ = "tuo_mao"
    const val NEN_FU_ = "nen_fu"
    const val LOGIN_PWD = "login_pwd"

    //alarmFragmnet
    const val ALARM_L_1 = "alarm_l_1"
    const val ALARM_L_2 = "alarm_l_2"
    const val ALARM_L_3 = "alarm_l_3"

    const val ALARM_R_1 = "alarm_R_1"
    const val ALARM_R_2 = "alarm_R_2"
    const val ALARM_R_3 = "alarm_R_3"

    //SP使用 handler fragment中的可调节温度的值
    const val HANDLE_HEAD_L = "handle_head_l"
    const val HANDLE_HEAD_R = "handle_head_r"

    const val USER_ID = "user_id"
    const val USER_LIST = "user_list"

    const val HOME_SEEKBAR_1_L = "home_seekbar_1l"
    const val HOME_SEEKBAR_2_L = "home_seekbar_2l"
    const val HOME_SEEKBAR_3_L = "home_seekbar_3l"

    const val HOME_SEEKBAR_1_R = "home_seekbar_1r"
    const val HOME_SEEKBAR_2_R = "home_seekbar_2r"
    const val HOME_SEEKBAR_3_R = "home_seekbar_3r"

    //true==左侧用户回显  false==右侧用户回显
    const val HOME_SELECT_USER = "home_select_user"
    const val NENFU_HOME_SELECT_USER = "nenfu_home_select_user"

    //发送结果和接收用户数据
    const val HOME_SELECT_USER_VALUE = "home_select_user_value"
    const val NENFU_HOME_SELECT_USER_VALUE = "nenfu_home_select_user_value"
    const val DEVICE_ADDRESS = "device_address"   //蓝牙存储已经连接的设备address
    const val NOTICE_DEVICE_ID = "device_id"   //连接成功通知页面显示图标

    //连接成功就关闭页面
    const val CLOSE_BLUETOOTH_ACTIVITY = "close_bluetooth_activity"

    //连接成功就去登录页面回调成功
    const val BLUETOOTH_CONNECT_TRUE = "bluetooth_connect_true"

    //SP使用，计时器每一分钟统计的次数更新到设置页面中显示
    const val HANDLE_SEND_COUNT_ALL_L = "handle_send_count_all_l"
    const val HANDLE_SEND_COUNT_ALL_R = "handle_send_count_all_r"

    //手柄的使用手柄2000万次
    const val MAX_COUNT: Int = 20000000
    const val AA = "AA"
    const val FF = "FF"
    const val EE = "EE"

    //指令4 脱毛智能指令:
    const val TUO_MAO_ZHI_NENG = " AA 55 E4 06 "

    //指令5 嫩肤
    const val NEN_FU_COMMAND = " AA 55 E5 02 "

    //指令6 选择用户保存到本地的数据下次继续使用
    const val USER_ITEM_VALUE_COMMAND = " AA 55 E6 04 "

    //指令15 单独发送三个参数 加减调节
    const val HOME_BUTTON_CLICK_COMMAND = " AA 55 F1 03 "

    //指令13 设置页面下的alarm报警参数
    const val SETTING_ALARM_COMMAND = " AA 55 ED 04 "

    //指令14 发送手柄温度(设置页面手柄温度设置)
    const val SETTING_HANDLE_WENDU_COMMAND = " AA 55 EE 02 "

    //指令16 恢复出厂设置
    const val REST_DEVICES = " AA 55 FF "

    //指令8 准备/待机状态
    const val HOME_ACTION_FLAG = " AA 55 E8 02 "

    //指令0 开机通知后台设备
    const val START_TABLE_NOTICE = "AA 55 D0 01 01 EE"

    //指令10 发送累计的次数指令
    const val SEND_TIMER_COUNT_ALL = " AA 55 EA 05 "

    //指令7 点击加减按钮接收到的数据能量密度、脉宽、HZ
    const val E7 = "E7"

    //指令9 接收状态转换指令 待机/准备/输出
    const val E9 = "E9"

    //指令17 ，接收能量密度、脉宽的最大值和最小值
    const val F2 = "F2"

    //指令12（接收4个报警参数，使用在工作页面最底部报红显示）
    const val EC = "EC"

    //指令11 （接收4个参数，使用在工作页面最底部数字显示）
    const val EB = "EB"

    //指令18 接收回复出厂设置
    const val F3 = "F3"

    //////////////////// 接收的命令 -----------------------------

    //设备的序列号
    const val SAVE_DEVICES_SN = "save_devices_sn"

    //左手柄的序列号
    const val LEFT_HANDLE_SN = "left_handle_sn"

    //右手柄的序列号
    const val RIGHT_HANDLE_SN = "right_handle_sn"

    //左手柄的温度
    const val LEFT_HANDLE_HEAT = "left_handle_heat"

    //右手柄的温度
    const val RIGHT_HANDLE_HEAT = "right_handle_heat"

    //左手柄水流
    const val LEFT_HANDLE_SHUI_LIU = "left_handle_shui_liu"

    //右手柄水流
    const val RIGHT_HANDLE_SHUI_LIU = "right_handle_shui_liu"

    //左手柄水位
    const val LEFT_HANDLE_SHUI_WEI = "left_handle_shui_wei"

    //右手柄水位
    const val RIGHT_HANDLE_SHUI_WEI = "right_handle_shui_wei"

    //关闭加载框
    const val CLOSE_LOADING = "close_loading"

    const val RESET_DEVICES = "reset_devices"

    //handle页面中的wavelength的值
    const val WAVE_LENGTH_L = "wave_length_l"
    const val WAVE_LENGTH_R = "wave_length_r"

    //handle页面中的 power 的值
    const val POWER_VALUE_L = "power_value_l"
    const val POWER_VALUE_R = "power_value_r"
}